Don't recurse in erc-server-delayed-check-reconnect
authorF. Jason Park <jp@neverwas.me>
Tue, 28 May 2024 07:32:13 +0000 (00:32 -0700)
committerF. Jason Park <jp@neverwas.me>
Wed, 5 Jun 2024 18:58:44 +0000 (11:58 -0700)
commit50b134c4dc828485705a0a5b5a884379ff25bb15
tree39def5c288213b72d35b35d6cb3e0151286cbf17
parentec8c0b0d0d8a6b8804fa3e6619242ec6db32fd19
Don't recurse in erc-server-delayed-check-reconnect

* lisp/erc/erc-backend.el (erc-server-delayed-check-reconnect): Run
`reschedule' function on a timer to avoid growing the stack when
calling `delete-process'.
* lisp/erc/erc-common.el (erc--favor-changed-reverted-modules-state):
Fix `pcase' condition so that changing an option to its standard value
does not earn a "STANDARD" label in Customize if that value differs
from the saved one.
* lisp/erc/erc.el (erc-open-socks-tls-stream): Reword doc string.
* test/lisp/erc/erc-tests.el (erc--with-dependent-type-match)
(erc--with-dependent-type-match): Remove useless tests (bug#71178).
* test/lisp/erc/resources/base/reconnect/unexpected-disconnect.eld:
Await phantom EOFs and PINGs to somewhat account for a race that can
result in a failure when running the suite in parallel with -jN.
* test/lisp/erc/resources/erc-scenarios-common.el
(erc-scenarios-common--print-trace): Set `debug-on-error' to t
so that errors in timers always trigger test failures.
;; * test/lisp/erc/resources/base/assoc/reconplay/foonet.eld:
;; Timeouts.
;; * test/lisp/erc/resources/base/upstream-reconnect/soju-barnet.eld:
;; Timeouts.
;; * test/lisp/erc/resources/base/mask-target-routing/foonet.eld:
;; Timeouts.
;; * test/lisp/erc/resources/join/network-id/barnet.eld: Timeout.
lisp/erc/erc-backend.el
lisp/erc/erc-common.el
lisp/erc/erc.el
test/lisp/erc/erc-tests.el
test/lisp/erc/resources/base/assoc/reconplay/foonet.eld
test/lisp/erc/resources/base/mask-target-routing/foonet.eld
test/lisp/erc/resources/base/reconnect/unexpected-disconnect.eld
test/lisp/erc/resources/base/upstream-reconnect/soju-barnet.eld
test/lisp/erc/resources/erc-scenarios-common.el
test/lisp/erc/resources/join/network-id/barnet.eld